/*
 *  Copyright 2009 Advanced Industrial Science and Technology (AIST).
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/*! \file generate_random_graph.hpp
 *  \brief Defines the interface of generating random graph.
 */

#pragma once

#include <thrust/graph/graph_traits.hpp>

#include <thrust/random.h>

#include <iostream>

namespace thrust
{

/*! \addtogroup 
 *  \ingroup graph
 *  \{
 */ 

/*! \p generate_random_graph
 *
 */

template <typename RandNumGen, typename Graph>
void
generate_random_graph( Graph& g
                       , typename graph_traits<Graph>::vertices_size_type V
                       , typename graph_traits<Graph>::edges_size_type    E
                       , bool allow_parallel =true
                       , bool self_edges =false
                       , unsigned int seed =0);
  
} // end namespace thrust
#include <thrust/graph/detail/device/generic/random.inl>

/*! \} // end Tools for random graphs
 */
